package com.rao.quartz.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: raoguang
 * @Date: 2022/08/27/16:12
 * @Description:
 */
@RestController
public class TestController {

    @GetMapping("/health")
    public String health(Integer flag) {
        return flag.equals(1) ? "health" : "unhealth";
    }


}
